package com.nescafe.nescafepromo.model;

public class FBResponse {

	private String id = null;
	private String first_name = null;
	private String last_name = null;
	private String middle_name = null;
	private String email = null;
	private String picture = null;
	private Location location = null;

	public static class Location {

		private String name = null;

		public Location() {

		}

		public void setName(String name) {
			this.name = name;
		}

		public String getName() {
			return name;
		}

	}

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}

	public void setFirst_name(String first_name) {
		this.first_name = first_name;
	}

	public String getFirst_name() {
		return first_name;
	}

	public void setLast_name(String last_name) {
		this.last_name = last_name;
	}

	public String getLast_name() {
		return last_name;
	}

	public void setMiddle_name(String middle_name) {
		this.middle_name = middle_name;
	}

	public String getMiddle_name() {
		return middle_name;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getEmail() {
		return email;
	}

	public String getFullName() {
		return first_name + " " + last_name;
	}

	public void setLocation(Location location) {
		this.location = location;
	}

	public Location getLocation() {
		return location;
	}

	public String getLocationName() {
		return location != null ? location.getName() : "";
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public String getPicture() {
		return picture;
	}
}
